package com.wildlife.springboot.dao;

import java.util.List;
import java.util.Map;

public class NodeEntity {
    private long identity;
    private List<String> labels;
    private Map<String, String> properties;
    private String elementId;

    // 无参构造函数
    public NodeEntity() {
    }

    // 带参构造函数
    public NodeEntity(long identity, List<String> labels, Map<String, String> properties, String elementId) {
        this.identity = identity;
        this.labels = labels;
        this.properties = properties;
        this.elementId = elementId;
    }

    // Getter 和 Setter 方法
    public long getIdentity() {
        return identity;
    }

    public void setIdentity(long identity) {
        this.identity = identity;
    }

    public List<String> getLabels() {
        return labels;
    }

    public void setLabels(List<String> labels) {
        this.labels = labels;
    }

    public Map<String, String> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    @Override
    public String toString() {
        return "NodeEntity{" +
                "identity=" + identity +
                ", labels=" + labels +
                ", properties=" + properties +
                ", elementId='" + elementId + '\'' +
                '}';
    }
}
